make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Sat, 15 Feb 2025 10:20:09 +0000 (11:20 +0100)
committerAurelien Jarno <aurel32@debian.org>
Sat, 15 Feb 2025 10:20:09 +0000 (11:20 +0100)
commiteea62dc4835ad410e995ab6157457a2da77db3eb
tree6fd70c366e259142f49c8767f72919d70a37052b
parent3c5784aba30c87105cad469b2b82ffddd18328b1
make ldconfig use the built-in system paths

Bug-Ubuntu: https://bugs.launchpad.net/bugs/736932

Make ldconfig use the same view of built-in system paths that ld.so does,
instead of just using SLIBDIR and LIBDIR; this corrects a failure of
ldconfig to cache libraries in non-multiarch directories when building for
multiarch, even though they're on the system path.

Gbp-Pq: Topic any
Gbp-Pq: Name local-ldconfig-multiarch.diff
elf/ldconfig.c